<?php

/**
 * Description of donations
 *
 * @author iLyas
 */
class Donations extends CI_Controller {
    
    function index(){
        $this->load->model('donations_model');
        
        $data['donations_for_user'] = $this->donations_model->get_donations_for_this_user($this->session->userdata('user_id'));
        
        $this->load->view('user/donations', $data);
    }
}

?>
